package com.lanchetech.dao;
import org.apache.ibatis.annotations.Param;

import com.lanchetech.entity.CurrentIdentity;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface CurrentIdentityMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CurrentIdentity record);

    int insertSelective(CurrentIdentity record);

    CurrentIdentity selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CurrentIdentity record);

    int updateByPrimaryKey(CurrentIdentity record);

    CurrentIdentity findOneByUserId(@Param("userId")Long userId);


}